package com.totoro.mybatis.mul_datasource.dao.user;

import com.totoro.mybatis.mul_datasource.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Niki on 2018/8/15 12:02
 */

public interface UserDao {
    List<User> queryAll();

    User queryById(@Param("id") int id);

    int insertUser(User user);
}
